/*分享的模态框*/
.model-addShare {
    display: block;
    position: fixed;
    top: -150%;
    left: 50%;
    margin-top: -215px;
    margin-left: -275px;
    width: 550px;
    height: 430px;
    z-index: 1000;
    border-radius: 2px;
    background: #ffffff;
    transition: 0.2s all linear;
}

.model-addShare-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 900;
    background: #4b4149;
    opacity: 0.3;
}

/*头部*/
.model-header {
    padding: 15px 17px;
}

.model-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.model-name {
    margin-left: 5px;
    font-size: 15px;
    color: #0f0f0f
}

.model-close {
    float: right;
    margin: -3px -5px 0 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

/*中部*/
.model-content {
    padding: 10px 0;
    min-height: 150px;
}

/*输入信息栏*/
.model-content textarea, .model-content textarea:focus {
    display: block;
    margin: 0 -10px 5px 0;
    padding: 3px 20px;
    width: 100%;
    height: 100px;
    outline: none;
    border: 0;
    resize: none;
}

.model-scroll {
    overflow: auto;
}

.model-scroll-photo {
    position: relative;
    display: inline-block;
    padding: 2px 20px;
    width: 510px;
    height: 124px;
    font-size: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

/*添加图片栏*/
.model-camera-wrapper {
    display: inline-block;
    position: absolute;
    left: 20px;
    top: 0;
    z-index: 0;
}

.model-camera {
    position: relative;
    margin: 0 15px 0 0;
    width: 120px;
    height: 120px;
    line-height: 120px;
    text-align: center;
    vertical-align: top;
    background: #e0d6de;
}

.model-camera i {
    font-size: 33px;
}

.model-photo-input {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    overflow: hidden;
    width: 120px;
    height: 120px;
    border: 0;
    opacity: 0;
}

.model-camera-imgNode {
    width: 100%;
    height: 100%;
}

/******* model-camera-imgNode的伪类************/
.model-camera-imgNode:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: 0 0 2px #aaaaaa inset;
    border-radius: 3px;
}

.model-camera img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}

.model-camera-exchange {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 18px;
    height: 18px;
    font-size: 0;
    border-radius: 50%;
    background: #ffffff;
    cursor: move;
}

.model-camera-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    font-size: 0;
    cursor: pointer;
    border-radius: 50%;
    background: #ffffff;
}

.model-camera-exchange i, .model-camera-close i {
    display: block;
    line-height: 18px;
    font-size: 11px;
}

/*底部信息栏*/
.model-bottom {
    padding: 15px 20px 10px 20px;
}

.model-map {
    height: 22px;
    line-height: 22px;
    font-size: 15px;
    cursor: pointer;
}

.model-map span {
    display: inline-block;
    margin: 0 8px 5px 0;
    font-size: 14px;
}

.model-map i {
    font-size: 15px;
}

/*是否私有*/
.model-private {
    margin-top: 3px;
    height: 22px;
    line-height: 22px;
    font-size: 14px;
}

.model-authority {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin: 0 0 0 3px;
    width: 55px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    border-radius: 11px;
    background: #e3e3e3;
    cursor: pointer;
}

.model-authority-public {
    float: left;
    margin: 0 0 0 8px;
    color: #4b4149;
}

.model-authority-private {
    display: none;
    float: right;
    margin: 0 8px 0 0;
    color: #4b4149;
}

.model-authority-roll {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    transition: 0.2s all linear;
}

/*确认和取消的按钮*/
.model-right-send {
    margin: 10px 0 0 0;
    float: right;
}

.model-right-send span {
    margin-right: 3px;
    font-size: 16px;
    cursor: pointer;
}

.model-right-send span:first-child {
    margin-right: 20px;
}

/*响应式*/
@media only  screen and (max-width: 570px) {
    .model-addShare {
        position: fixed;
        top: -200%;
        left: 0;
        margin-top: 0;
        margin-left: 0;
        width: 100%;
        height: 100%;
    }

    .model-scroll-photo {
        width: 100%;
    }

    .model-bottom {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 5px;
        padding: 15px 20px 10px 20px;
    }
}

/*普通的模态框*/
.model-normal {
    display: block;
    position: fixed;
    top: -150%;
    left: 50%;
    margin-top: -127px;
    margin-left: -215px;
    width: 430px;
    height: 254px;
    z-index: 1000;
    border-radius: 2px;
    background: #ffffff;
    transition: 0.2s all linear;
}

.model-normal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 800;
    background: #4b4149;
    opacity: 0.3;
}

/*模态框正文内容*/
.model-normal-header {
    padding: 15px 17px;
}

.model-normal-middle textarea, .model-normal-middle textarea:focus {
    display: block;
    margin: 0 -10px 5px 0;
    padding: 3px 20px;
    width: 100%;
    height: 100px;
    outline: none;
    border: 0;
    resize: none;
}

.model-normal-bottom {
    padding: 15px 20px 10px 20px;
}

.model-normal-href, .model-normal-href:hover {
    margin: 0 0 0 8px;
    color: #00B7FF;
    font-size: 12px;
}

.model-normal .model-right-send span {
    font-size: 15px;
}